package cn.yh.register.client.user;

import cn.yh.register.model.user.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 掉用户服务的feign接口
 */
@FeignClient("service-user")
public interface UsersFeignClient {

    @GetMapping("/api/user/patient/inner/get/{id}")
    Patient getPatientOrder(@PathVariable Long id);

}
